export enum BannerPos { TopLeft, TopCenter, TopRight, BottomLeft, BottomCenter, BottomRight }

export default class ADBase {

    protected currPosition: BannerPos

    /** 显示Banner广告 */
    showBanner(position: BannerPos) {
        this.currPosition = position;
        console.log('显示Banner广告');
    }

    /** 重置Banner广告位置 */
    setBannerPos(position: BannerPos) {
        this.currPosition = position;
        console.log('设置Banner位置');
    }

    /** 隐藏Banner广告 */
    hideBanner(byPlayerClick: boolean) {
        console.log('隐藏Banner广告');
    }

    /** 显示激励广告 onClose(isEnded: boolean) */
    showRewardVideo(onClose: Function) {
        console.log('显示激励广告');
    }

    /** 显示插屏广告 */
    showInsertAD(onClose: Function) {
        console.log('显示插屏广告');
    }

}
